package cn.zzuisa.bluebox.biz.device.mapper;

import java.util.List;
import java.util.Map;

import cn.zzuisa.bluebox.biz.device.entity.Device;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import com.baomidou.mybatisplus.core.metadata.IPage;
import org.springframework.stereotype.Repository;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author Ao
 * @since 2018-11-30
 */
@Repository
@Mapper
public interface DeviceMapper extends BaseMapper<Device> {

	IPage<Map<String, Object>> pageDevices(IPage<Device> page,@Param("ids")String[] ids);

	List getExceptionDeviceList();

	List<Device> getMapList();

	Device findByImei(@Param("imei") String imei);

}
